package cn.edu.scau.cmi.chenyiqiu.objectAdapter;

public class StudentInfo {
	private int number;
	private String name;
	public StudentInfo() {
		super();
	}
	public void setnum(int num)
	{
		number=num;
	}
	public void setnam(String name)
	{
		this.name=name;
	}
	public int getnumber() {
		return this.number;
	}
	public String getname() {
		return this.name;
	}
	@Override
	public String toString() {
		return " "+number+"  "+name+" \n";
	}

}
